<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head>
    <base href="<%=basePath%>" />
    <title>Personal Information</title>
    <script type="text/javascript">
		var path = "<%=basePath%>";
	</script>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<link rel="stylesheet" type="text/css" href="<%=basePath%>basic/css/content.css" />
  </head>
  
  <body>
  	<div class="content_all">
  		<!--导航条-->
  		<div class="insertinfo_table">
      		<table width="100%" border="0" cellspacing="0" cellpadding="0">
        		<tr>
          			<th>User Name：</th>
          			<td><s:property value='user.userID' /></td>
        		</tr>
        		<tr>
          			<th>ID Number：</th>
          			<td><s:property value='user.pid' /></td>
        		</tr>
        		<tr>
		          	<th>Real Name：</th>
		          	<td><s:property value='user.userName' /></td>
        		</tr>
        		<tr>
          			<th>Gender：</th>
          			<td><s:if test="user.gender=='male'">Male</s:if>
          				<s:elseif test="user.gender=='female'">Female</s:elseif></td>
        		</tr>
        		<tr>
          			<th>Date of Birth：</th>
          			<td><s:date name='user.birthday' format='yyyy-MM-dd' nice='false' /></td>
        		</tr>
        		<tr>
		          	<th>Phone Number：</th>
		          	<td><s:property value='user.phone' /></td>
        		</tr>
        		<tr>
		          	<th>E-mail：</th>
		          	<td><s:property value='user.email' /></td>
        		</tr>
        		<tr>
          			<th>Contact Address：</th>
          			<td style="white-space:normal; word-break:break-all; word-wrap:break-word;"><s:property value='user.address' /></td>
        		</tr>
<%--       	 		<tr>--%>
<%--          			<td style="border:none;"></td>--%>
<%--          			<td style="border:none;">--%>
<%--          				<input name="" type="button" value="确 定" class="s_btn" />--%>
<%--            			<input name="" type="button" value="重 置" class="s_btn"/></td>--%>
<%--        		</tr>--%>
      		</table>
  		</div>
	</div>
	<div class="clear"></div>
  </body>
</html>
